// Cosmetic.h
#ifndef COSMETIC_H
#define COSMETIC_H

#include "Product.h"

// 化妆品类
class Cosmetic : public Product {
private:
    string ingredients; // 成分
    string suitableSkinType; //  适用肤质
public:
    Cosmetic();
    Cosmetic(string id,string name, string brand, string manufacturer, double price, int quantity, string ingredients);

    void displayInfo() const override;
    void setSuitableSkinType(string ing);
    string getSuitableSkinType() const;

    void updateSpecialField(const string &value) override;
};

#endif //COSMETIC_H